import Vue from 'vue'
import App from './App.vue'
import router from './router/index'

//Vuetify
import vuetify from '@/plugins/vuetify'
import './common/scss/vuetify.scss'

//WebSocket
import VueSocketIO from "vue-socket.io/dist/vue-socketio";
import ClientSocketIO from 'socket.io-client'
//工具集
import {Utils} from "./common/js/utils.js"

Vue.config.productionTip = false

Vue.use(new VueSocketIO({
    connection: ClientSocketIO.connect("http://172.17.128.144:8888/", {
        transports: ['websocket']
    }),
}))

Vue.prototype.utils = new Utils()

new Vue({
    render: h => h(App),
    router,
    vuetify,
}).$mount('#app')